from rest_framework import routers

from .views import ConfigViewSets, ProjectViewSets

urlpatterns = []

router = routers.SimpleRouter()  # 最简单的一个路由
router.register("project", ProjectViewSets)

router.register("config", ConfigViewSets)


# 想要被Django认可的话还要加上下面这行代码
urlpatterns += router.urls
